package com.jia.together.service;

import com.jia.together.entity.Member;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jia.together.entity.vo.LoginVo;
import com.jia.together.entity.vo.MemberOthersVo;
import com.jia.together.entity.vo.PasswordVo;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author dujiajia
 * @since 2021-02-18
 */
public interface MemberService extends IService<Member> {

    Map<String, Object> selectPageList(Long pageNum, Long pageSize);

    Member selectInfoByToken(HttpServletRequest request);

    MemberOthersVo selectMemberOthers(String id);

    void changePassword(PasswordVo passwordVo);

    Map<String, Object> loginOrRegisterPassword(Member member);

    Map<String, Object> loginOrRegisterCode(LoginVo loginVo);
}
